﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wicresoft.EKA.MVCExtensions
{
    public interface IRepository<T,C>
    {
        C Save(T entity);
        void Update(T entity);
        void Delete(C id);
        T GetById(C id);
        IEnumerable<T> GetAll();
    }
}
